export namespace IMenu {
  export interface Query {
    isShowButton: boolean
  }

  export interface Form {
    id?: number
    title?: string
    pid?: number
    path?: string
    name?: string
    icon?: string
    component?: string
    redirect?: string
    menuSort?: number
    deep?: number
    menuType?: string
    perms?: string
    isHidden?: string
    hasChildren?: string
    isLink?: string
    isFull?: string
    isAffix?: string
    isKeepAlive?: string
  }

  export interface Tree {
    id: number
    pid: number
    title: string
    children: Tree[]
  }

  export interface PermissionQuery {
    id: number
    perms: string
  }
}
